package com.example.xinli.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *
 * @TableName user
 */
@TableName(value ="inquiry_result_tb")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class InquiryResult implements Serializable {

    @TableField(value = "inquiry_result_id")
    @TableId
    private int inquiryResultId;


//    每一题的唯一
    @TableField(value = "inquiry_id")
    private int inquiryId;

    @TableField(value = "user_id")
    private String userId;

    @TableField(value = "inter_id")
    private int interId;

    @TableField(value = "score")
    private int score;

    @TableField(value = "text")
    private String text;


    @TableField(value = "finished_time")
    private LocalDateTime finishedTime;


}